import { createStore } from 'vuex'

const store = createStore({
  state () {
    return {
      counter: 0
    }
  },
  mutations: {
    add (state) {
      state.counter += 1
    }
  },
  actions: {},
  getters: {}
})

export default store